package com.example.mytestdemo.customviewbook.five.multitouch.harvic.blogmultitouch

import android.content.Intent
import android.view.View
import com.example.mytestdemo.BaseViewBindActivity
import com.example.mytestdemo.R
import com.example.mytestdemo.databinding.ActivityFiveMainBinding


class FiveMainActivity : BaseViewBindActivity<ActivityFiveMainBinding>() {


    override fun getLayoutInflateId(): Int {
        return R.layout.activity_five_main
    }

    override fun initData() {
        mBind.btnSecondTouch.setOnClickListener(View.OnClickListener {
            startActivity(
                Intent(this, FiveSecondTouchActivity::class.java)
            )
        })

        mBind.btnDragPicSingle.setOnClickListener(View.OnClickListener {
            startActivity(
                Intent(this, FiveSingleDragActivity::class.java)
            )
        })

        mBind.btnDragPicMulti.setOnClickListener(View.OnClickListener {
            startActivity(
                Intent(this, FiveMultiDragActivity::class.java)
            )
        })
        mBind.btnScaleText.setOnClickListener(View.OnClickListener {
            startActivity(
                Intent(this, FiveScaleTextActivity::class.java)
            )
        })

    }

    override fun initUI() {


    }


}